package com.cowain.monitor.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *  
 *  * @author 冬暖
 *  * @projectName ehr-backend
 *  * @title     PmsProducscheduleDetailEntity   
 *  * @package    com.cowain.base.modules.pms.entity  
 *  * @description    项目执行计划       
 *  * @date   2020/4/6 8:13  
 *  * @version V1.0.0
 *  
 */
@TableName("pms_product_schedule_detail")
public class PmsProductscheduleDetailEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private String t;

    public String getT() {
        return t;
    }
    public void setT(String t){
        this.t = t;
    }

    /**
     *  主键id
     */
    @TableId
    private Integer id;

    /**
     * 产品id
     */
    private Integer productId;
    /**
     * 版本id
     */
    private Integer versionId;
    /**
     * 计划的id
     */
    private Integer menuId;
    /**
     * 开始时间
     */
    private Date startTime;
    /**
     * 开始时间转换
     */
    @TableField(exist = false)
    private String startTimeStr;

    /**
     *  结束时间
     */
    private Date endTime;
    /**
     * 结束时间转换
     */
    @TableField(exist = false)
    private String endTimeStr;

    /**
     * 工期
     */
    private BigDecimal limitPeriod;

    /**
     * 是否里程碑交付
     */
    private Integer isStone;

    /**
     * 项目流程进度
     */
    private String taskProgress;

    /**
     * 项目流程状态
     */
    private String taskStatus;

    /**
     * 项目流程注解
     */
    private String scheduleComment;

    /**
     * 逾期时长
     */
    private String overdueTime;
    /**
     * 是否交付成果
     */
    private Integer isAchievement;
    /**
     * 手动发送预警 0未发送  1已发送
     */
    private Integer isOperation;
    /**
     *  自动消息统计
     */
    private Integer messageCount;
    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private Long createUser;

    /**
     * 设置：
     */
    public void setId(Integer id) {
        this.id = id;
    }
    /**
     * 获取：
     */
    public Integer getId() {
        return id;
    }
    /**
     * 设置：
     */
    public void setProductId(Integer productId) {
        this.productId = productId;
    }
    /**
     * 获取：
     */
    public Integer getProductId() {
        return productId;
    }

    public Integer getVersionId() {
        return versionId;
    }

    public void setVersionId(Integer versionId) {
        this.versionId = versionId;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    /**
     * 设置：
     */
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
    /**
     * 获取：
     */
    public Date getStartTime() {
        return startTime;
    }
    /**
     * 设置：
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
    /**
     * 获取：
     */
    public Date getEndTime() {
        return endTime;
    }
    /**
     * 设置：
     */
    public void setLimitPeriod(BigDecimal limitPeriod) {
        this.limitPeriod = limitPeriod;
    }
    /**
     * 获取：
     */
    public BigDecimal getLimitPeriod() {
        return limitPeriod;
    }
    /**
     * 设置：
     */
    public void setIsStone(Integer isStone) {
        this.isStone = isStone;
    }
    /**
     * 获取：
     */
    public Integer getIsStone() {
        return isStone;
    }
    /**
     * 设置：
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    /**
     * 获取：
     */
    public Date getCreateTime() {
        return createTime;
    }
    /**
     * 设置：
     */
    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }
    /**
     * 获取：
     */
    public Long getCreateUser() {
        return createUser;
    }

    public String getTaskProgress() {
        return taskProgress;
    }

    public void setTaskProgress(String taskProgress) {
        this.taskProgress = taskProgress;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getScheduleComment() {
        return scheduleComment;
    }

    public void setScheduleComment(String scheduleComment) {

        this.scheduleComment = scheduleComment;
    }

    public String getOverdueTime() {
        return overdueTime;
    }

    public void setOverdueTime(String overdueTime) {
        this.overdueTime = overdueTime;
    }

    public String getStartTimeStr() {
        return startTimeStr;
    }

    public void setStartTimeStr(String startTimeStr) {
        this.startTimeStr = startTimeStr;
    }

    public String getEndTimeStr() {
        return endTimeStr;
    }

    public void setEndTimeStr(String endTimeStr) {
        this.endTimeStr = endTimeStr;
    }

    public Integer getIsAchievement() {
        return isAchievement;
    }

    public void setIsAchievement(Integer isAchievement) {
        this.isAchievement = isAchievement;
    }

    public Integer getIsOperation() {
        return isOperation;
    }

    public void setIsOperation(Integer isOperation) {
        this.isOperation = isOperation;
    }

    public Integer getMessageCount() {
        return messageCount;
    }

    public void setMessageCount(Integer messageCount) {
        this.messageCount = messageCount;
    }

    @Override
    public String toString() {
        return "PmsProductscheduleDetailEntity{" +
                "t='" + t + '\'' +
                ", id=" + id +
                ", productId=" + productId +
                ", versionId=" + versionId +
                ", menuId=" + menuId +
                ", startTime=" + startTime +
                ", startTimeStr='" + startTimeStr + '\'' +
                ", endTime=" + endTime +
                ", endTimeStr='" + endTimeStr + '\'' +
                ", limitPeriod=" + limitPeriod +
                ", isStone=" + isStone +
                ", taskProgress='" + taskProgress + '\'' +
                ", taskStatus='" + taskStatus + '\'' +
                ", scheduleComment='" + scheduleComment + '\'' +
                ", overdueTime='" + overdueTime + '\'' +
                ", isAchievement=" + isAchievement +
                ", isOperation=" + isOperation +
                ", messageCount=" + messageCount +
                ", createTime=" + createTime +
                ", createUser=" + createUser +
                '}';
    }
}
